import { createStore } from "vuex";

/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-12-11 17:14:00
 * @LastEditors: GGB
 * @LastEditTime: 2021-12-11 17:32:20
 */
const store = createStore({
    state: {
        counter: 0
    },
    mutations: {
        add(state) {
            state.counter++
        }
    }
})

export default store